for (let index = 0; index < _g_dimm_conf.length; index++) {
  const item = _g_dimm_conf[index];
  if (item.name === dimm_conf.name) {
    _g_dimm_conf[index] = dimm_conf;
    break;
  }
}